package com.groupsix.service.impl;

import com.groupsix.mapper.UserMapper;
import com.groupsix.pojo.SysUser;
import com.groupsix.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public SysUser findUserById(int id) {
       return userMapper.findUserById(id);
    }
}
